home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / TAWUG / TAWUG Disk No. 69 (SHK) / TAWUG69.shk / MAKING.MACROS (.txt) < prev    next >
AppleWorks Document  |  1988-05-01  |  3KB  |  48 lines

  1. O=====|====|====|====|====|====|====|====|====|====|====|====|====|====|====|===
  2. THE FOLLOWING IS THE METHOD I USE TO DEVELOP INVOLVED MACROS
  3. KI use Ultra Macros from Beagle Brothers.  It is the BEST!!!! macro program I
  4. Gcurrently on the market and for the foreseeable future.  If you have a O
  5. different Macro program you may be able to modify the information and use it.
  6. KAll of my macro files have the macro ba-c (Both Apples-C) as the beginning N
  7. Lmacro.  This macro compiles the current file as the working macros.  If you O
  8. Mhave an error later in your macro file, at least this macro will be compiled N
  9. and will save you numerous keystrokes when you fix the error and re-compile.
  10. LWhen you write an involved or difficult macro, you may not know exactly the N
  11. Llanguage you must put it into to have it operate properly.  In addition, it N
  12. Lis an involved process.  By using a blank macro file (well almost blank, it M
  13. Kwill contain ba-c) and a temporary macro, your efforts will be much easier 
  14. and better.
  15. I used this method for the macro file  BIG.LETTERS  on TAWUG #67/68
  16. Method:
  17.  -   Have the blank macro file on your desktop (mine is below).
  18.  -   Compile this empty file (ba-c if you have it in your default file)
  19.  -   Put your cursor below the second long line of hyphens.
  20. I -   Press OA-X to begin a temporary macro (I like to use the # 6, after ;
  21. debugging your macro you can rename it anything you want)
  22.  -   Define your macro.
  23.  -   When finished press Control @, which ends the temporary macro.
  24. K -   Go into the TimeOut Macro Compiler and press 2, Display current macro H
  25. Fset.  This will print to your WP file the macro you have just created H
  26. Falong with ba-c.  You can now go in and Modify the macro if necessary J
  27. H(Some tokens/keystrokes can't be entered from temporary macros and will 
  28. require a slight re-working)
  29.  -   After any changes do a ba-c to re-compile the new macro.
  30.  -   Test the macro thoroughly!!!
  31. K -   Rename it to an unused key in your default files (If you make a large 5
  32. table of macros you may have a separate macro file)
  33.  -   Re-compile your new file as the Default file
  34.  -   That's it.
  35.  -   Oh yeah, Good Luck.
  36.            m a c r o    t e s t i n g    f i l e 
  37. Macro                                  comment0
  38. -----                                  -------
  39. start
  40. -----------------------------------------------------------------------------
  41. the following macro automatically compiles the current awp file.
  42. <ba-c>:<awp $0 = "macro compiler" : oa-esc find rtn rtn>nb!N
  43. Lcompile current file; add a <rtn> token after "nb" to automatically execute O
  44. Mthe first macro in the new set; the n and b at the end select the "no pause" G
  45. Eand compile from "beginning" options in the "macro compiler" timeout 
  46. application
  47. -----------------------------------------------------------------------------
  48.